package com.tiance.demo.observer;

public class ObserverData {
    private Object data;

    public ObserverData(Object data) {
        this.data = data;
    }

    public Object getData() {
        return data;
    }

    public static ObserverData transfer(Object obj) {
        return (ObserverData) obj;
    }
}
